package com.sxdx.convert;

import com.sxdx.entity.Book;
import com.sxdx.entity.dto.BookDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper(componentModel = "spring")
public interface BookConvert {

     BookConvert convert= Mappers.getMapper(BookConvert.class);


    Book fromDto(BookDto bookDto);
}
